package com.example.shopping.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Car {
    private Integer id;
    private Integer userId;
    private Integer commodityId;

    public Car(int userId, Integer commodityId) {
        this.userId=userId;
        this.commodityId=commodityId;
    }
}
